/*    */ package com.create.prototype.shallow;
/*    */ 
/*    */ public class Person
/*    */   implements Cloneable
/*    */ {
/*    */   private String name;
/*    */   private Address address;
/*    */ 
/*    */   public Person(String name, Address address)
/*    */   {
/*  9 */     this.name = name;
/* 10 */     this.address = address;
/*    */   }
/*    */   public String getName() {
/* 13 */     return this.name;
/*    */   }
/*    */   public void setName(String name) {
/* 16 */     this.name = name;
/*    */   }
/*    */   public Address getAddress() {
/* 19 */     return this.address;
/*    */   }
/*    */   public void setAddress(Address address) {
/* 22 */     this.address = address;
/*    */   }
/*    */ 
/*    */   public Person clone() {
/* 26 */     Object object = null;
/*    */     try {
/* 28 */       object = super.clone();
/*    */     } catch (CloneNotSupportedException e) {
/* 30 */       e.printStackTrace();
/*    */     }
/* 32 */     return (Person)object;
/*    */   }
/*    */ 
/*    */   public String toString() {
/* 36 */     return "Person [name=" + this.name + ",city=" + this.address.getCity() + ",street=" + this.address.getStreet() + "]";
/*    */   }
/*    */ }

/* Location:           C:\Users\lenovo\Desktop\DesignMode.jar
 * Qualified Name:     com.create.prototype.shallow.Person
 * JD-Core Version:    0.6.2
 */